<?php

use yii\db\Migration;

/**
 * Handles adding columns to table `{{%event_type}}`.
 */
class m230217_093728_add_title_plural_column_to_event_type_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->addColumn('{{%event_type}}', 'title_plural', $this->string());
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->dropColumn('{{%event_type}}', 'title_plural');
    }
}
